Skip to content

Commit

Permalink
Merge pull request #234 from DestinyItemManager/profile-id
Browse files Browse the repository at this point in the history
Default profile ID if missing (for now)
  • Loading branch information
bhollis authored Oct 2, 2024
2 parents 4ec9d67 + 34ba4d9 commit 8def06f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions api/routes/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const updateHandler = asyncHandler(async (req, res) => {
req,
updates,
bungieMembershipId,
platformMembershipId,
platformMembershipId ?? profileIds[0],
destinyVersion,
appId,
);
Expand All @@ -171,7 +171,7 @@ export const updateHandler = asyncHandler(async (req, res) => {
req,
updates,
bungieMembershipId,
platformMembershipId,
platformMembershipId ?? profileIds[0],
destinyVersion,
appId,
);
Expand Down
2 changes: 1 addition & 1 deletion api/stately/schema/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Search = itemType('Search', {
/**
* The full search query. These are
*/
query: { type: string, fieldNum: 1, valid: 'this.size() <= 2048' },
query: { type: string, fieldNum: 1 },
/** A zero usage count means this is a suggested/preloaded search. */
usageCount: { type: uint32, fieldNum: 2, required: false },
/** Has this search been saved/favorite'd/pinned by the user? */
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { pathsToModuleNameMapper } from 'ts-jest';
import tsConfig from './tsconfig.json' with { type: 'json' };
export default {
testTimeout: 10000,
testTimeout: 15000,
transform: {
'\\.ts$': [
'ts-jest',
Expand Down

0 comments on commit 8def06f

Please sign in to comment.