Skip to content

Commit 601002b

Browse files
committed
Update waitpoint list presenter to use resolver
1 parent b7218af commit 601002b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/app/presenters/v3/WaitpointTokenListPresenter.server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class WaitpointTokenListPresenter extends BasePresenter {
165165
${sqlDatabaseSchema}."Waitpoint" w
166166
WHERE
167167
w."environmentId" = ${environment.id}
168-
AND w.type = 'MANUAL'
168+
AND w.resolver = 'TOKEN'
169169
-- cursor
170170
${
171171
cursor
@@ -250,7 +250,7 @@ export class WaitpointTokenListPresenter extends BasePresenter {
250250
const firstToken = await this._replica.waitpoint.findFirst({
251251
where: {
252252
environmentId: environment.id,
253-
type: "MANUAL",
253+
resolver: "TOKEN",
254254
},
255255
});
256256

0 commit comments

Comments
 (0)