Skip to content

Commit

Permalink
Make address undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
gostkin committed Dec 19, 2023
1 parent 9cc2979 commit c5b9f69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class ProjectedNftRangeController extends Controller {
);
}

if (requestBody.address !== null) {
if (requestBody.address !== undefined) {
return await this.handle_by_address_query(requestBody.address, requestBody);
} else {
return await this.handle_general_query(requestBody);
Expand Down
2 changes: 1 addition & 1 deletion webserver/shared/models/ProjectedNftRange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export type ProjectedNftRangeRequest = {
*/
maxSlot: number
},
address: string | null
address: string | undefined
};

export type ProjectedNftRangeResponse = {
Expand Down

0 comments on commit c5b9f69

Please sign in to comment.