@webtypen/webframez-core 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ class Response {
26
26
  * @returns
27
27
  */
28
28
  status(status) {
29
- this.statusCode = 200;
29
+ this.statusCode = status;
30
30
  if (!this.res) {
31
31
  return this;
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webtypen/webframez-core",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "The core package of the typescript based webframez (web-framework) by webtypen.de",
5
5
  "homepage": "https://webtypen.de/",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@ export class Response {
31
31
  * @returns
32
32
  */
33
33
  status(status: number): Response {
34
- this.statusCode = 200;
34
+ this.statusCode = status;
35
35
 
36
36
  if (!this.res) {
37
37
  return this;