mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 13:04:53 +00:00
convert project from microservices to rest apis
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { SetMetadata } from '@nestjs/common';
|
||||
|
||||
export const ResponseMessage = (message: string) =>
|
||||
SetMetadata('response_message', message);
|
||||
SetMetadata('response_message', message);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
export interface Response<T> {
|
||||
statusCode: number;
|
||||
message: string;
|
||||
data?: T;
|
||||
}
|
||||
statusCode: number;
|
||||
message: string;
|
||||
data?: T;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user