updating api log interceptor (#128)
* fixing all logs showing when user is unauthenticated * updating api log interceptor
This commit was merged in pull request #128.
This commit is contained in:
@@ -63,7 +63,7 @@ export class LogInterceptor implements NestInterceptor {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
entities: logs,
|
entities: logs,
|
||||||
total: data.total,
|
total: logs.length,
|
||||||
hasNextPage: false
|
hasNextPage: false
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user