File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -463,7 +463,7 @@ export class AtlasUserData<T extends z.Schema> extends IUserData<T> {
463
463
const json = await getResponse . json ( ) ;
464
464
const data = this . validator . parse ( this . deserialize ( json . data as string ) ) ;
465
465
return data ;
466
- } catch {
466
+ } catch ( error ) {
467
467
log . error (
468
468
mongoLogId ( 1_001_000_365 ) ,
469
469
'Atlas Backend' ,
Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ export interface PipelineStorage {
5
5
loadMany (
6
6
predicate : ( arg0 : SavedPipeline ) => boolean
7
7
) : Promise < SavedPipeline [ ] > ;
8
- createOrUpdate ( id : string , attributes : SavedPipeline ) : Promise < boolean > ;
9
- create ( attributes : SavedPipeline ) : Promise < boolean > ;
8
+ createOrUpdate (
9
+ id : string ,
10
+ attributes : Omit < SavedPipeline , 'lastModified' >
11
+ ) : Promise < boolean > ;
12
+ create ( attributes : Omit < SavedPipeline , 'lastModified' > ) : Promise < boolean > ;
10
13
updateAttributes (
11
14
id : string ,
12
15
attributes : Partial < SavedPipeline >
You can’t perform that action at this time.
0 commit comments